package com.triones.yjj.entity.bo;


import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户提现申请业务对象 tr_member_withdraw
 *
 * @author ruoyi
 * @date 2024-08-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MemberWithdrawBo extends BaseEntity {
    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 客户id
     */
    @NotNull(message = "客户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long memberId;

    /**
     * 客户微信id
     */
    @NotNull(message = "客户微信id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long memberWxUserId;

    /**
     * 提现金额
     */
    @NotNull(message = "提现金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal amount;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 状态1申请2审核打款0驳回申请
     */
    @NotNull(message = "状态1申请2审核打款0驳回申请不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer state;

    /**
     * 审核人
     */
    @NotNull(message = "审核人不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long auditUser;

    /**
     * 审核时间
     */
    @NotNull(message = "审核时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date auditTime;
}
